#define _CRT_SECURE_NO_WARNINGS 1

class Solution {
public:
    string winningPlayer(int x, int y) {
        int flag = 0;
        while (x >= 1 && y >= 4)
        {
            x--;
            y -= 4;
            flag++;
        }
        if (flag % 2)
            return "Alice";
        else
            return "Bob";
    }
};